package com.waimai.common;

public class BaseContext {
    private static ThreadLocal<Long> threadLocal ;
//用不了

    public static void setCurrentId(long id){
        threadLocal.set(id);
    }
    public  static  Long getCurrentId(){
        return threadLocal.get();
    }
}
